﻿using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;

namespace Avalon.Core.Data.Templates {

    public class AvalonViewRendererGroup : BaseAuditableEntity {
        [Required]
        public string Name { get; set; }
        public string DefaultTemplate { get; set; }
        public string ControllerName { get; set; }
        public bool IsDefault { get; set; }
        public string Description { get; set; }
        public virtual ICollection<AvalonViewRenderer> AvalonViewRenderers { get; set; }

        public AvalonViewRendererGroup() {
            this.AvalonViewRenderers = new HashSet<AvalonViewRenderer>();
        }
    }
}
